execute at @s run playsound ui.button.click block @s
execute if score @s biome_advancements_advertisments_version matches 0..3 run tellraw @s {"translate":"您当前使用的是老版本的宣传页面，请进入管理员设置进行更新","color": "red"}
execute if score @s biome_advancements_settings_version matches 1..5 run tellraw @s {"translate":"您当前使用的是老版本的设置页面，请进入管理员设置进行更新","color": "red"}
execute if score @s biome_advancements_settings_version matches 1 run function biome_advancements:settings/system_use/1
execute if score @s biome_advancements_settings_version matches 2..3 run function biome_advancements:settings/system_use/23
execute if score @s biome_advancements_settings_version matches 4..5 run function biome_advancements:settings/system_use/45
execute if score @s biome_advancements_settings_version matches 6..7 run function biome_advancements:settings/system_use/67

#积分版重置
scoreboard players set @s biome_advancements_settings 0